package com.wt.springsamples.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * @Auther: Administrator
 * @Date: 2018/11/24 16:33
 * @Description:
 */
@Data
public abstract class IdEntity implements IEntity {

    @TableId(type = IdType.ASSIGN_ID)
    protected Long id;
}
